inherited FPesquisaNovaNFVenda: TFPesquisaNovaNFVenda
  Left = 248
  Top = 145
  Caption = 'Pesquisa Nota Fiscal Venda'
  ClientHeight = 426
  ClientWidth = 569
  OldCreateOrder = True
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel2: TPanel
    Width = 569
    inherited BtnLimpar: TBitBtn
      OnClick = BtnLimparClick
    end
    inherited BtnImprimir: TBitBtn
      OnClick = BtnImprimirClick
    end
    inherited BtnSelecionar: TBitBtn
      OnClick = BtnSelecionarClick
    end
    inherited BtnFechar: TBitBtn
      Left = 488
    end
  end
  inherited Panel1: TPanel
    Width = 569
    Height = 385
    object Label1: TLabel [0]
      Left = 5
      Top = 8
      Width = 33
      Height = 13
      Caption = 'C'#243'digo'
    end
    object Label2: TLabel [1]
      Left = 69
      Top = 8
      Width = 82
      Height = 13
      Caption = 'N'#250'mero       S'#233'rie'
    end
    object Label3: TLabel [2]
      Left = 168
      Top = 8
      Width = 81
      Height = 13
      Caption = 'S'#234'lo            S'#233'rie'
    end
    object Label4: TLabel [3]
      Left = 267
      Top = 56
      Width = 56
      Height = 13
      Caption = 'Cliente (F-8)'
    end
    object Label11: TLabel [4]
      Left = 5
      Top = 105
      Width = 86
      Height = 13
      Caption = 'Tipo de Opera'#231#227'o'
    end
    object Label51: TLabel [5]
      Left = 5
      Top = 144
      Width = 28
      Height = 13
      Caption = 'CFOP'
    end
    object Label24: TLabel [6]
      Left = 148
      Top = 186
      Width = 61
      Height = 13
      Caption = 'Produto (F-8)'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      ParentFont = False
    end
    object Label66: TLabel [7]
      Left = 5
      Top = 185
      Width = 59
      Height = 13
      Caption = 'Cod Produto'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      ParentFont = False
    end
    object Label14: TLabel [8]
      Left = 77
      Top = 185
      Width = 57
      Height = 13
      Caption = 'Ref Produto'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      ParentFont = False
    end
    inherited DBGrid1: TDBGrid
      Top = 270
      Width = 567
      Height = 94
      Font.Charset = ANSI_CHARSET
      Font.Name = 'Times New Roman'
      Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
      ParentFont = False
      TabOrder = 16
      TitleFont.Charset = ANSI_CHARSET
      TitleFont.Name = 'Times New Roman'
      TitleFont.Style = [fsBold]
      Columns = <
        item
          Alignment = taCenter
          Expanded = False
          FieldName = 'NF_CODIGO'
          Title.Alignment = taCenter
          Title.Caption = 'C'#243'digo'
          Width = 50
          Visible = True
        end
        item
          Alignment = taCenter
          Expanded = False
          FieldName = 'NF_NUMERONF'
          Title.Alignment = taCenter
          Title.Caption = 'N'#250'mero'
          Width = 55
          Visible = True
        end
        item
          Alignment = taCenter
          Expanded = False
          FieldName = 'NF_SERIENF'
          Title.Alignment = taCenter
          Title.Caption = 'S'#233'rie'
          Width = 30
          Visible = True
        end
        item
          Alignment = taCenter
          Expanded = False
          FieldName = 'NF_NUMEROSELO'
          Title.Alignment = taCenter
          Title.Caption = 'S'#234'lo'
          Width = 70
          Visible = True
        end
        item
          Alignment = taCenter
          Expanded = False
          FieldName = 'NF_SERIESELO'
          Title.Alignment = taCenter
          Title.Caption = 'S'#233'rie'
          Width = 30
          Visible = True
        end
        item
          Alignment = taCenter
          Expanded = False
          FieldName = 'NF_DATAEMISSAO'
          Title.Alignment = taCenter
          Title.Caption = 'Emiss'#227'o'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'CLI_RAZAO'
          Title.Caption = 'Cliente'
          Width = 160
          Visible = True
        end
        item
          Alignment = taRightJustify
          Expanded = False
          FieldName = 'NF_VALORFINALNOTA'
          Title.Alignment = taRightJustify
          Title.Caption = 'Valor'
          Width = 80
          Visible = True
        end>
    end
    inherited Panel3: TPanel
      Top = 364
      Width = 567
      TabOrder = 0
    end
    object RGSituacaoNF: TRadioGroup
      Left = 267
      Top = 1
      Width = 163
      Height = 43
      Caption = '  Situa'#231#227'o  '
      Columns = 2
      Ctl3D = False
      ItemIndex = 3
      Items.Strings = (
        'N'#227'o Emitida'
        'Emitida'
        'Cancelada'
        'Todas')
      ParentCtl3D = False
      TabOrder = 6
    end
    object EdCodigo: TEdit
      Left = 5
      Top = 24
      Width = 60
      Height = 19
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 1
    end
    object EdNumeroNF: TEdit
      Left = 69
      Top = 24
      Width = 60
      Height = 19
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 2
    end
    object EdSerieNF: TEdit
      Left = 128
      Top = 24
      Width = 36
      Height = 19
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 3
    end
    object EdSelo: TEdit
      Left = 168
      Top = 24
      Width = 60
      Height = 19
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 4
    end
    object EdSerieSelo: TEdit
      Left = 227
      Top = 24
      Width = 36
      Height = 19
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 5
    end
    object DBLCBCliente: TDBLookupComboBox
      Left = 267
      Top = 72
      Width = 296
      Height = 19
      Ctl3D = False
      KeyField = 'CLI_CODIGO'
      ListField = 'CLI_RAZAO'
      ListSource = DSCliente
      ParentCtl3D = False
      TabOrder = 9
      OnEnter = DBLCBClienteEnter
      OnKeyDown = DBLCBClienteKeyDown
    end
    object DBLCBTipoVenda: TDBLookupComboBox
      Left = 5
      Top = 120
      Width = 558
      Height = 19
      Ctl3D = False
      DataField = 'NF_TIPOVENDA'
      KeyField = 'TIPVEND_CODIGO'
      ListField = 'cod_descricao'
      ListSource = DSTipoVenda
      ParentCtl3D = False
      ParentShowHint = False
      ShowHint = True
      TabOrder = 10
      OnEnter = DBLCBTipoVendaEnter
      OnKeyDown = DBLCBTipoVendaKeyDown
    end
    object DBLCFOP: TDBLookupComboBox
      Left = 5
      Top = 159
      Width = 558
      Height = 19
      Ctl3D = False
      DataField = 'NF_CFOPNF'
      KeyField = 'CFOP_CODIGO'
      ListField = 'COD_DESCRICAO'
      ListSource = DSCFOP
      ParentCtl3D = False
      ParentShowHint = False
      ShowHint = True
      TabOrder = 11
      OnEnter = DBLCFOPEnter
      OnKeyDown = DBLCFOPKeyDown
    end
    object DBLCBProdutoMercadoria: TDBLookupComboBox
      Left = 148
      Top = 200
      Width = 415
      Height = 19
      Hint = '(F3) Visualizar Descri'#231#227'o - (F7) Todos - (F8) Cliente'
      Ctl3D = False
      DataField = 'ITENSNF_PRODUTO'
      KeyField = 'PROD_CODIGO'
      ListField = 'PROD_DESCRICAOSAI'
      ListSource = DSProduto_Mercadoria
      ParentCtl3D = False
      ParentShowHint = False
      ShowHint = True
      TabOrder = 14
      OnEnter = DBLCBProdutoMercadoriaEnter
      OnKeyDown = DBLCBProdutoMercadoriaKeyDown
    end
    object EdCodProdutoMercadoria: TEdit
      Left = 5
      Top = 200
      Width = 65
      Height = 19
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 12
      OnExit = EdCodProdutoMercadoriaExit
    end
    object EdRefProdutoMercadoria: TEdit
      Left = 77
      Top = 200
      Width = 65
      Height = 19
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 13
      OnExit = EdRefProdutoMercadoriaExit
    end
    object GBOrigem: TGroupBox
      Left = 433
      Top = 1
      Width = 129
      Height = 43
      Caption = '  Origem  '
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 7
      object RBPedido: TRadioButton
        Left = 5
        Top = 13
        Width = 54
        Height = 15
        Caption = 'Pedido'
        TabOrder = 0
      end
      object RbRomaneio: TRadioButton
        Left = 5
        Top = 27
        Width = 69
        Height = 13
        Caption = 'Romaneio'
        Enabled = False
        TabOrder = 1
      end
      object EdOrigem: TEdit
        Left = 77
        Top = 20
        Width = 49
        Height = 19
        Ctl3D = False
        ParentCtl3D = False
        TabOrder = 2
      end
    end
    object CLBEmpresas: TCheckListBox
      Left = 1
      Top = 230
      Width = 567
      Height = 40
      Align = alBottom
      Columns = 1
      Ctl3D = False
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 15
    end
    object GBEmissao: TGroupBox
      Left = 5
      Top = 49
      Width = 258
      Height = 51
      Caption = '  Emiss'#227'o  '
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 8
      object Label5: TLabel
        Left = 8
        Top = 24
        Width = 14
        Height = 13
        Caption = 'De'
      end
      object Label6: TLabel
        Left = 136
        Top = 24
        Width = 6
        Height = 13
        Caption = #224
      end
      object DtPeriodo1: TDateEdit
        Left = 32
        Top = 24
        Width = 89
        Height = 19
        NumGlyphs = 2
        TabOrder = 0
      end
      object DtPeriodo2: TDateEdit
        Left = 156
        Top = 24
        Width = 89
        Height = 19
        NumGlyphs = 2
        TabOrder = 1
      end
    end
  end
  inherited QPesquisa: TQuery
    Top = 257
  end
  inherited DSPesquisa: TDataSource
    Top = 249
  end
  object DSCliente: TDataSource
    DataSet = DMGestao.QCliente
    Left = 432
    Top = 104
  end
  object DSTipoVenda: TDataSource
    DataSet = QTipoVenda
    Left = 152
    Top = 160
  end
  object QTipoVenda: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'Select TipoVenda.*,'
      
        'TIPVEND_CODIGOVENDA || '#39' - '#39' || TIPVEND_DESCRICAO as cod_descric' +
        'ao'
      ' From TipoVenda'
      'order By TIPVEND_CODIGOVENDA')
    Left = 101
    Top = 152
  end
  object DSCFOP: TDataSource
    DataSet = QCFOP
    Left = 208
    Top = 96
  end
  object QCFOP: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'Select CFOP.*,'
      
        '           CFOP_CODIGOFISCAL || '#39' - '#39' || CFOP_DESCRICAO AS COD_D' +
        'ESCRICAO'
      ' From CFOP'
      'order By CFOP_CODIGOFISCAL')
    Left = 189
    Top = 60
  end
  object DSProduto_Mercadoria: TDataSource
    DataSet = QProduto_Mercadoria
    OnDataChange = DSProduto_MercadoriaDataChange
    Left = 339
    Top = 252
  end
  object QProduto_Mercadoria: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'Select * From produto where PROD_TIPO = 0'
      'order By Prod_DescricaoSai')
    Left = 292
    Top = 236
  end
end
